package com.beiming.libra.service;

import java.util.List;

import com.beiming.libra.common.enums.PlatformEnum;
import com.beiming.libra.domain.AuthRoleRelation;
import com.beiming.libra.domain.MenuInfo;
import com.beiming.libra.domain.dto.requestdto.AuthRoleRelationRequestDTO;


/**
 * 角色和菜单关系
 * 
 *@author weibo
 */
public interface AuthRoleRelationService {
  /** 新增角色权限关系 */
  public void insertAuthRoleRelation(AuthRoleRelationRequestDTO authRoleRelationRequestDTO);

  /** 删除角色权限关系 */
  public void deleteAuthRoleRelation(String roleId);

  /** 获取角色权限关系 */
  public List<AuthRoleRelation> getAuthRoleRelation(String roleIdsd);
  /**
   * 获取权限信息
   * 
   * @param userId * @param platformEnum
   * */
  public List<MenuInfo> getAuthInfoByUserId(String userId, PlatformEnum platformEnum);
}
